Total Complexity | 20 |
Dependencies | 1 |
Dependents | 3 |
Total lines | 61 |
Lines of code | 43 |
Logical lines of code | 27 |
Comment lines | 0 |
Methods | 7 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
isMobile() | 59 | 6 | 13 | |
isTablet() | 60 | 6 | 13 | |
getType() | 73 | 3 | 5 | |
isDesktop() | 79 | 2 | 3 | |
getKnownTypes() | 79 | 1 | 3 | |
__construct() | 81 | 1 | 3 | |
getUserAgent() | 82 | 1 | 3 |